Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Java R6.5 API AdminP approve method woes
~Paul Regeroburjip 26.Jan.04 09:22 PM a Web browser
Applications Development 6.5 All Platforms


I understand that a fundamental way of dealing with Notes database objects is to open a notes database, read a specific document, access its NoteID and then utilize a host of methods to manipulate the data.

However, utilizing the methods within the Java API R6.5 AdministrationProcess class, it is possible to emulate many common Domino Administrator tasks without ever exclicity opening the admin4.nsf database. For example, appropriately calling the deleteUser method, actually triggers the following AdminP process requests (as per documentation): "Delete person in Domino Directory," "Delete in Person documents," "Delete in Access Control List," "Delete in Reader / Author fields," "Get information for deletion," "Approve file deletion," "Request file deletion," "Delete mail file," "Delete unlinked mail file," "Approve deletion of Private Design Elements," "Request to delete Private Design Elements," and "Delete Private Design Elements".

Never once does the java programmer have to obtain a handle, document, or noteID from the admin4.nsf database.
So if each method in the AdministrationProcess class returns "The note ID of an entry created in the Administration Requests database", isn't this NoteID that has been returned valid? Can this returned NoteID be used like the NoteID of a document within the admin4.nsf? Does this returned NoteID actually correspond to a NoteID of a document in the admin4.nsf....and if so, which document? Can it be used with any of the approve methods (i.e. approveDeletePersonInDirectory, approveMailFileDeletion, approveRenamePersonInDirectory, etc.) in this same AdministrationProcess class?

If the documentation contained examples of using the AdministrationProcess class methods, I probably wouldn't be asking these questions <sigh> :-/.

--PERRY




Java R6.5 API AdminP approve method... (~Paul Regerobur... 23.Jan.04)
. . use the Document.getNoteID to get t... (~Dan Elhipister... 23.Jan.04)
. . . . Java R6.5 API AdminP approve method... (~Paul Regerobur... 26.Jan.04)
. . . . . . I guess I am confused here. How wer... (~Dan Elhipister... 26.Jan.04)
. . . . . . . . Java R6.5 API AdminP approve method... (~Paul Regerobur... 26.Jan.04)
. . . . . . . . . . Sure it is... (~Dan Elhipister... 26.Jan.04)
. . . . . . . . . . . . RE: Sure it is... (~Paul Regerobur... 26.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS